package com.example.bean.query;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;


@Data
@ApiModel(value = "管理端列表查询对象")
public class BlockchainExportQuery{

    @ApiModelProperty(value = "企业名称")
    private String name;

    @ApiModelProperty(value = "所属园区")
    private String park;

    @ApiModelProperty(value = "申请时间")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
   	@DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate submitDate;
    
    @ApiModelProperty(value = "审核时间")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
   	@DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate auditDate;

    @ApiModelProperty(value = "状态 0：待审核，1：审核通过，2：审核不通过,3:全部 必填")
    private int auditStatus;
    @ApiModelProperty(value = "排序字段 1: 提交日期升序 2：提交日期降序 3：名称升序 4:名称降序 5：园区升序 6：园区降序 7：审核日期升序 8 ：审核日期降序9：审核状态升序 10审核状态降序 ")
    private String sort;
    @ApiModelProperty(value = "所选要导出的ids")
    private String ids;


}
